Conversation
- add `pinned` to orchestration contracts, projector, and projection persistence (with migration) - support `thread.meta.update` pin toggles via sidebar context menu and `mod+shift+p` - sort sidebar threads with pinned items first and show a pin indicator
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
…hread # Conflicts: # apps/web/src/components/Sidebar.logic.test.ts # apps/web/src/components/Sidebar.logic.ts # apps/web/src/components/Sidebar.tsx
What Changed
Why
My workflow means that I am often creating lots of small threads, with potentially one larger thread running in the background in case I need to make changes with the full context of the plan. This larger thread was often getting buried by the smaller threads. This thread is also often where I would have my terminal running in dev mode, which would be tricky to find sometimes to cancel it.
UI Changes
Checklist
Note
Add thread pinning with sidebar display and keyboard shortcut
pinnedboolean to theThreadtype, orchestration contracts, andprojection_threadsDB table (via migration 014_ProjectionThreadsPinned.ts withDEFAULT 0).sortThreadsForSidebarutil in Sidebar.logic.ts.mod+shift+pkeybinding (thread.togglePinned), both dispatchingthread.meta.updateto the server.pinnedthrough event creation and meta-update flows.pinned=falseafter migration;ThreadMetaUpdateCommandnow accepts an optionalpinnedfield.Macroscope summarized 4d0842f.